Added basic autoplay functions

Added autoplayer class that currently tries to play the game by
selecting random directions. Added buttons to the game page to allow
turning on and off of autoplay.