A college project in Java