Added grammar for functions, fixed grammar for multi-character
operators, simplified toString for Lists, fixed a couple of bugs in the
grammar related to empty lists