Updated the code for 'Create a simple piano' tutorial