Adding method to score tree and keep track of path