Add new-line printing option in printing functions