Program For Reading Image from Source and Displaying on a window