Solution for http://codegolf.com/seven-segment-displays