An Array exercise from Beginning JavaScript added

Added the An Array exercise from pg. 43 in the Beginning JavaScript book