fixed logical errors

fixed some behaviors when removing chords under certain conditions, and
corrently setting nextChord under those conditions.

added a getKnownChordList method to chords to return the known chords
list. renamed some data members in Chords.