implement sphere based collision detection

this method can be expanded with more hit detection types later on