Blocks were not setting hasBlock to false
Check won condition

* Wrap rotate with mod
Merge branch 'master' of github.com:vnavarro/SPJAM2013