New file Logic1.java - completed