Modified the makefile so that the compiler issues warnings and then proceeded to fix several warnings.