Create preprocess.py

module for preprocessing