Algorithm for generation of rounds are now working.