simulation of bullet in 2D space.