Create codeRefactorer.py

add the python code