Adds functionality to setMaterial function

- The setMaterial function now sets the default colour to light grey
and and texture index.
Adds functionality to the ReadTexture function

- The ReadTexture function has now been implemented. This should now
load textures to memory and populate the texture database.