A simulator for Tomasulo algorithm