Added code for bullet collision detection and player respawning.