Added delay fucntionality to the simulator. Will continue with delay functionality for the general process