Grouping Character Shapes by means of Genetic Programming