Add thrift tutorial example.