Forward probabilities example