added newline functionality to L
added printf functionality