JavaScript Arrays Homework Tasks