Added win and game over conditions