added position for image and variable for window size
added functuality for image drawing
function overloading for image drawing