fourth commit. main.cpp file updated to it latest version with motion of mouse implemented