add sharp/flat key signature logic based on table of spellings