added material class. replaced color with material in scene objects. added reflect function for vectors.