Added AI to control Snake

AI Option still needs to be configured in the home page. Right now, the
game automatically uses the AI.