completed prototypal inheritance
completed functions and closure