david's code

I made a few edits to David's keyboard sample player code.