implemented get_dictionary where it displays def, syn, ant, ex for the given word