Greedy decoding and beam search on a small tree, including a case where greedy misses the most likely sequence and a beam of two finds it.