Documenting / playing around with an old Java assignment