Combining Code - MIDI test and 5x7 LED matrix

For how to combine code see:-
http://www.thebox.myzen.co.uk/Tutorial/Merging_Code.html