added clean version of the haydn quartet code