Its working only with that sketch which i did not understand.
---------------------------- Serial output with post # 4 code--------------
leds=1 // 01 ON with button 01
leds=0 // 01 OFF with button 01
leds=10 // 02 ON ---------------
leds=0 // 02 OFF---------------
leds=100 // 03 ON
leds=0 // 03 OFF
leds=1000 // follow the same sequence
leds=0
leds=100000
leds=0
leds=10000
leds=0
leds=1000000
leds=0
leds=10000000
leds=0
leds=1 // 01 ON with button 01
leds=11 // 01+ 02 ON with 02 button while 01 keep on
leds=111 // follow the same sequence and 1== ON and 0 == OFF with related button
leds=1111
leds=101111
leds=111111
leds=1111111
leds=11111111
leds=11111011
leds=11111010
leds=11101010