actually lecture 6, exercise 2: note sequencer