Changed movement

Changed the movement to remember every space where a decision has been
made to make it less convoluted and cleaner. Also removes having to
remember the last move that was made.