Python script to count syllables in words