Changed NoteSequence to be a subclass of an ArrayList.