fixed bug that prevented two consecutive tile shifts in the same direction
Added score counter and gameover detector
Added score display to index.html.