Added printNewLine function

Also changed out all old code with this new function