-Working version with unproperly placed collision detection.

*STABLE VERSION*