Adding inheritanceDemo.js and some code level formating done in README.md file.