Monkey Typing problem done, submitted second solution (with list comprehension)