My solution to softuni.bg OOP exam