Melodies and How to Harmonize Them