a is a reference to an array. You added that reference to the list twice so, when you print the list's contents, you get the values of that array printed twice.

If you want the list to contain...