Hotel manager in java. Exercise at Department of Informatics and Telematics