An exercise for R by using kaggle.com Digit Recognizer contest.