A Feature Selection Algorithm for Handwritten Character Recognition