System.exit() removed from all the subclasses of Problem