Parallel processing model for traversing in a matrix to reach a destination(in partial fulfillment of OS lab)