A 2D gravity simulator written in Python