solutions to google code jam problems