Added code for player-to-player collision detection.