Cube drawing optimisation

Optimised a method of drawing a cube by creating a side func with a
texture initialisation. Decreased amount of repeating code.