Modified Stack class, Nation class, and UnitPool class.