Genarates random numbers, using a custom reusable class.