Replace algorithmic package with algorithmicx package