clean up; added command line para for number of texts to generate; switch to |> operator