Added function to create an array, added notes on arrays