Just a simple experiment with diodes ...
The circuit works as ...
Switching the first switch , displays 0
Switching the second one shows 1..and so on and so forth .
Wanted to operate the display without using logic gates and other digital devices...and hence this circuit .