Implemented the properties in NumberDisplay class