Added first implementation of inheritance