working on corner detection, after thresholding the image there is one point for each corner, corners are in an array, now you have to make rectangles from it