Added occurrenceCount() function.
Added toLetterList() function.
Transfered classes from ABCIS Utils.
Removed unused import and simplified 4 ifs statements.
Added javadoc and made some function parameter names explicit.
Added javadoc,  made some function parameter names explicit adn added a parameter check.