Refactored the Move class and related methods into a new PuzzleSolver class
Reformatted all code