Finished checkContext of functions

functions and function parameter checking is done. awooooo