Updated the Collage algorithm to form perfect rectangles and changed sma...

First push: changed the Collage algorithm