A Scala program that reads melodic input from a .txt file in letter form, then calculates the key of the melody.