Added texture loading functions

Added functions to load raw textures. These functions are not complete,
and serve as skeleton code, since the texture width, height and bits per
pixel are currently hardcoded.