Fixed NullPointerException when foundWords hadn't been initialized.