Program written in C to recognize shapes from input image