The Harmonic Polynomial Cell Method for Moving Bodies Immersed in a Cartesian Background Grid