Implemented the puzzle creator class and cleaned up some of the window class