Finished evaluate function. Added few basic builtin functions