Fix tail-recursive factorial example

The existing code fails to compile with "illegal guard expression".
Use `==` instead of `=`.
Merge pull request #1 from legoscia/patch-1

Fix tail-recursive factorial example