add collision_detection.cpp
add constants
update helper functions
add Square class, check_collision()
clean code
update main