NullPointerException by "ArrayList<String> lexicon" fixed. Comment added.