Created preprocess example script

Issues #10 and #7