Digit displaying routine added