generalizes the random generator function
parametrizes the input numbers generator
Merge branch 'fixes'

Conflicts:
	main.m