Restore TCO.

Also solve first problem of euler project.
Solve project euler problem 2.
Move range to standard library.
Remove stack.
Changes suggested by intellij.
Convert one type error to new error format.
Refactor and add test for hailstone size example.
Remove trampoline example.
Fix project euler problem 1.
Add prime example.
Move any to standard library.
Fix parsing of big integers.
Solve project euler problem 3.
Add pairs.
Rewrite example streams in terms of pairs.