Added an array function from project 2. Modified it so that it uses an array method and properly returns a new array. Also fixed an error where I left out commas from a previous object.