Added support for calling primitive functions.
Added an InvalidTypeError
Added functions to check the type of an Error kind.
Implemented a Base module.
Exported the base module.g
Fixed a few errors that I didn't check before I pushed to github.
Added applying primitives. For some reason some lambda/primitive combinations result in Errors. Will fix later.