Added command line argument handler, search_depth is now specified with -r option