Automated Program Generation System for Image Processing using Case-Based Reasoning