private ArrayList<String> removeDuplicates(ArrayList<String> fullArray) {
        // ArrayList to hold non-repeated words
        ArrayList<String> originals = new ArrayList<String>();
        // Populates ArrayList
        for (String s : fullArray)
            if (!originals.contains(s))
                originals.add(s);
        return originals;
    }