Solved the first 3 problems  (ad infinitum)