initial commit for iterating arrays in javascript