Text this: Online recognition system for handwritten Hindi digits based on matching alignment algorithm