Added collision detection and garbage collection for bullets