modified licence
updated to python version 3