Add HASARD and CAP functions into parsing
Add HASARD and CAP into interpreter.