My python codes solve google code jam game