Implemented prototypal inheritance example