Created a Pitch object to handle comparing pitches; added range calculation.