exploritory code for creating image mosiac.