Added collision with foe

the foe now stops and changes direction when the player is hit. small
bug where foe remains "attached" during collision.