minor fixes to multiline string literals

those strings are concatenated with a "\" at the end of each
unfinished line. also, the main.py now also allows "&&" and "||"
to expect more input lines.