modified printPossiblePath