added constructor to build Gravity simulators from a dictionary of bodies
worked on getting gravity to work