Let's calculate the total distance per person by computing a sum of each row using our previous matrix.
Awesome! rowSums() returns a vector containing sums for each row in the matrix.
rowSums()
Didn't we want to compute the sum of each row?