refactoring to_lilypond to use arrays, got rid of tuplet template