Update README.md

Added property inheritance example.