Added Main Java File

Added the main class that contained the main method.