Added functionality to play patterns on piano

The piano now displays the patterns being played.
Changed some of the variable declerations