initDict() and validateWord(). Added some tests to Application.java