A Gravity Simulator