align order of recursive calls with animated example from Wikipedia
add unique keys to prevent warnings