implemented texture mapping and fixed some bugs
added a sample render with texture mapping