StationaryRectangle class created with paint method and implemented in ComputeGNG.java