update constants
helper functions updated
add check_collision
add handle_input() for Dot class
update main