Parallelize the graph search
Use gettimeofday to calculate times