added enemy collision with player and ground.