added feature for max url dept

Using set_max_depth the user can choose the max depth of the url which will be used as targets by the crawler. Also added a comment under process_document in case the user wants to do something with depth. Hope it's useful.