passing a seed number to Random contructor