Fixing solution 3 to be ANSI-compliant (integer might be 16-bit).
Solving problem 4. Adding problem 5's infrastructure. Updating Makefile template.