add example code about how to create SPH kernels with weight functions