assigning sixth index value to myArray and print to console