Added GCJ I/O template, modified solutions to use it.