generate method can now generate multiple random strings