Comparison of MapReduce, MPI and OpenMP for All-Pairs Shortest Path Problem