added old py-script

this need to be changed so it can read the numbers from an xml file