Update README.md

OOP
class inheritance