adds line numbers to every print statement