code to display four images in a single window