add example of using the custom types library

Great library, great docs. I just needed a working example of how to use a custom library.