a simple gravity simulator