adding token type checking functions to Syntax
build
refactoring toking type testing
build
fixing regexp make function along with tests
renaming term trees
renaming syntax type methods