Splitting the prototype chaining example into multiple files