add example of using the custom types library
Merge pull request #10 from karpet/master

add example of using the custom types library