Wrote two inheritance samples

@ebidel, @robdodson PTAL.