lab6 - fixed errors - still warnings - BLACK SCREEN

patched up all the errors, still 3 warnings left
but I got to the "Black Screen" ...