boxes are fully implemented, still need to add the check for surrounding boxes once a new space is discovered
actually made the graph object more like an actual object