Structure is complete.
Works with debug data, still incomplete...

TODO:
implement-
1. the missing rules (3).
2. MIDI to NoteArray converter (parser).
3. support for repeating notes.
4. support for triads.