shift rather than pop and a few other minor issues.
Some updates and style tweaks to game.