use Object.create for inheritance

see Shape / Rectangle example - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create