A Soft Computing Approach to Hand-written Recognition