Implemented function bindings, wrote `print`, and wrote test4 to test both.