python solutio to Q85