Here I turned ex33 into a function that can be imported with the upper limist of the list changed into a variables wich is taken as the argument of the function.