Compare the sequential and parallel code