Random names generation algorythm