System to Generate Photomosaics