The solution used for the first work

Icicle plot algorithm