Pattern Recognize Homework