changed errorMessages to .java, updated makefile, compiles successfully