High order spectral (HOS) code for 3D water wave simulations