Created reusable function for creation of a paragraph to remove some lin...

...es of code.