Added Nesting Levels and Offsets

Broke the attribute lists and return type for procedures and functions.
Going to be fixed once the semantic records are working. The
optionalparameterlist will return the list of parameters and they can be
added to the table at that time.