A Java assessment I was requested to do.