Move addElement to public method in CristallValues
Rebulid Function search (use build-in methods, remove unused map and remove cout debuging)