Changed the loadShader method so that it prints out compile errors
Chapter 3 completely implemented