added a drawcube function that draws a cube using glVertex and glColor with some kinda sexy things, might use it instead of vertex arrays and buffers.