lab 4

This program uses greedy algorithm to rearrange different images into one image.