Implemented the rest of the parse functions.  TODO: fix bug in parseStmt causing it to return nil for a well-formed statement