Modified the "next" algorithm in Level_3/brute.c to grealy inprove speed