finished 3_2 pattern completion, but still need debugging, especially testing of pattern recognizer in lines 160-185 of Pattern_Completion_worker.c