Updated example to match the book

Just moved the glewInit() from init() to main() so it matches the book example's detailing in chapter 1
Merge branch 'master' of https://github.com/matheusamazonas/opengl-redbook-code-macos