A Comprehensive and Comparative Study of Handwriting Recognition System