refactor the code for the serial version
Acceptable serial version with correct result

1. correct the stencil operation
2. move k as a parameter, passed from main function
3. program will runs for 150 iteration, ignore epsilon