Do you want it to be a 2D or 3D simulation?
What parameters you want to be able to be changed in the simulation?
m1,m2 and r ?

The gravitational constant G=6.674 \times 10^{-11} N (m/kg)^2 is a very small number.
Do you want the force be calculated with the above formula?