ex5.9 - from() that generates an infinite stream of integers