Tidying up ObstacleRectangle code.
Adding spherical obstacle.

+ Adding spherical obstacle with given position and radius.