Simulation of Algorithms