Adds example of custom object types used as table key.
Merge pull request #1133 from gradha/pr_adds_tables_example

Adds example of custom object types used as table key.