fixed #10

Created Puzzle object
Merge pull request #11 from jhoag/refactor_to_object

fixed #10