Inspector Gadget

Транспонировать:
1----------------------------------------------------------------------- 
2-----------------------------------------------------------------------
3-----------------------------------------------------------------------
4------------------------------------------------------------4---(3)----
5----------0--2--4---0---(3)------2---0-------------0---2---4-----------
6--2---4--------------------4------------2----4-------------------------