Code rewrite

A complete re-write of the code:
- Grid class was re-written from scratch (including the tests)
- PuzzleGenerator class was removed