Working on the attendance register, using default code for Java tutorials