Added the step 2 preprocessor

Also changed output values from double to int