Fixed table perspective, added restart and wins

Fixed table perspective using margin: 0 auto. Added restart button.
Added win checker.