Typos corrected.
Added Inheritance part of tutorial.