implementation of 24game/solve (squashed)
Merge pull request #166 from pfalabella/24-game-impl

24 game/solve implementation