added built in functions degree/root to symtab and semantic analysis. I am not completely happy with the implementation. It seems a bit hacky