hand-written scanner for multi-line comments
+ maximum() function in generator