Created a main class (Main.java)