Implemented solutions method for Puzzle class