Draw the result & some small code improvements

improvements including some code simplification and print the running
process;
Boundary conditions are added into blockSplit to be more robust;