Classification of hand-written digits for Kaggle competition