First array/ hanoi exercises of JS