Added the main Java file

This is the main Java file. This is where all the main code is.