class NumberDisplay first implementation