Takes a melody and returns a harmony. Lilypond-based