Add example of inheritance to readme

Inheritance is super-useful, so it's probably worth explicitly laying out in the README. Feel free to tweak this, clean it up, or gut it entirely. :v: