Implemented search method for diccionari and used it in main.cpp.