Implemented drawing with vertex arrays