implemented "nl"

A working version of "nl" that comes with a few basic tests and should run reasonably fast.
Todo: More tests (multiple files, weird combinations of parameters, ...) and a better help (then again, the original's isn't much better).
Closes #231.
Since this isn't being used, please remove it.