Do calculations for all numbers on stdin

If no arguments are passed to the call, read numbers from stdin.
Every number should be on its own line.

TODO:
Still needs to hanlde wrong inputs gracfully.