reverted get_distance to only accept dx and dy
there's another function that will get distance between two objects. and it will call this function
refactored csv saving functions to gamestuff.py.