implemented traverse and find and trieFromArray procs