proper circle rectangle collision
updated collision detector to return proper object which contains information about the collision.