Created a simple version of the minimal bounding rectangle finder.