Finished homework "OOP principles 2"