process 1 newline as sequence operator
Merging various bug fixes.
Merge branch 'master' of https://github.com/m-vojvodic/lab1

necessary,
Fixed several corner case handling.

Passes make check and common test cases.