What is the usefulness of using patterns in solving problem?