Java program - Register School