r4

fix important bug
http://en.wikipedia.org/wiki/Seven-segment_display