add basic line numbering

see #54.

styling needs to be polished though.