Create upper and lower bounds variables and setting up the class to display an image