Fix parsing bug in INDEX where we would not be able to array index or cast the result of a function call.
Add the ability to parse accesses of fields of structs.
Add function declarations and returns to the parser.