Shortest Path Between Two Points In A Matrix