Added method for getting words from dictionary starting with specified prefix