python: added random solving