(feat) Code for prototypal inheritance