Implementation of a simple method to count syllables in an english word