CS212: better tile game

* Refactors and consolidates successors generator.