Update functions.php

Added 'limit words' function to excerpt