start collision code
add helper to calculate distance between coords
remove redundant code
added articles i can draw inspiration from