Implemeted toPitch mehtod on Note to get Pitch object from Note.

Note is no longer a subclass of Pitch