Update functions.php

Add method to limit amount of words in a string