Digit classification exercise