Finished Shader contructor and linkShader function