An Algorithm to Compute the Nucleolus of Shortest Path Games