sentence generator hangs indefinitely on the random.randint lines, altering these to random.choice