Yeah, it would be a good exercise to direct a computer to solve the problem, and it may well be a better exercise to direct yourself.