Create player.js

Decided to add some expanded code examples - with most of the actual implementations redacted - to help guide students toward a working solution.