Text this: Enhancement of parallel thinning algorithm for handwritten characters using neural network