Typo + code fix to Poisson example in chapter 1

Many thanks for the great book!