Simulation of empire for Object-Oriented Programming course