added program to generate hypothesis for A* search