Define global WIDTH and HEIGHT vars

Loops and code in general can now be more easily edited without having to keep track of where the image size constants are located throught the code.