Base class for reading a Google Code Jam problem.

- Functionality to read input and write output.
- Pure virtual funstions to write actual problem solution.
Magic Trick problem.