home - (5, 3) - (2, 0) - column 5, row 3 and column 2, row 0 Am I missing something?
public static void main(String[] args) {
        int[][] wordSearch = new int[][]{
                {'f', 'd', 'e', 'r', 'l', 'k'},
                {'u', 's', 'a', 'm', 'e', 'o'},
                {'l', 'n', 'g', 'r', 'o', 'v'},
                {'m', 'l', 'p', 'r', 'r', 'h'},
                {'p', 'o', 'e', 'e', 'j', 'j'}
        };
        //detectAllWords(wordSearch, "fuck", "ship");

        for (Word word : detectAllWords(wordSearch, "home", "same")) {
            System.out.println(word.toString());
        }
        /*
Expected result
home - (5, 3) - (2, 0)
same - (1, 1) - (4, 1)
         */
    }