Made library comptabile with go tools:

Moved each example into its own directory.