Determines whether a set of pitches given by the user is a musical chord.