sandbox/python: add solutions 8-10