imported the engine class from homework
renamed to engine to graphics