Pseudo Random Generator for assingment