Added makefile with a simple compile command for all the *.java files and a clean command to remove all the *.class files.
Fixes all the compilation errors regarding uncaught exceptions, syntax errors, typos, etc.