Add print_by_line
Merge pull request #33 from sue445/feature/print_by_line

Add print_by_line

close #32