Added comments to CollisionDetection() function.

Added comments to CollisionDetection() function and changed returned
type to boolean. Added parameters for the two shapes the function will
test for collision.