Setting seed parameter-Adding Sequential version of the code