Wrote a 2D bounding box class and used it for position in Player