Google code jam solution suggestions