Updated the fruit logic and caught a bug with powerups

Henceforth pacman should kill ghosts when powered and fruit should spawn
every 20 seconds.