Added Bounding Box

Created and used a BoundingBox class everywhere. The planner page
is now using patterns. There are still tests failing, but I wanted to
get everything saved.