Fixing the PlayerAlgorithm

Now the boxes are correct "enemies" and recognized by the player.
Panic indicator will be implemented shortly.