Changed const int maxSyllablesInWord to const unsigned int maxSyllablesInWord