Changed move to arraylist

Messes up move logic, simplifies readability.