Added dynamics

Implemented a dynamics object similar to one found in music21 python.