create PuzzleController class and add private hashmap fields of PuzzleController and Location to Map class