OOP homework problem number 5 (Marcu Marian)