Added a bunch of functions which currently break Golftalk due to type stuff
add a couple of unit tests as an example

These tests can be run by invoking "go test"
add some more tests

some uncover crash bugs in golftalk, will need to fix