Adding chord functionality to midi

Adding the functionality for the preogram to play chords in midi

Authoe: lhunker