fixed

fixed function recursive errors, return value errors, added single
comment grammar rule, fixed char value errors