Exercise class with private fields and private methods like in our class diagrams