Digit Recognition using the Artificial Neural Network