About to refactor. Saving all code first.
Wrote a method to execute a sequence of moves.