Path with Maximum Probability — CaffeCode