creating print function
adding methods for generating chords