Slight modifications (removed warnings on Linux)

-Removed DEBUG specific portions of code
-Modified code to build without any warnings when built using the -Wall
option using g++