Solves the general case for the "Make 10 with 4 numbers game"