Seven Segment Display Python, This is not generalized solution.