Nilpotent center in a continuous piecewise quadratic polynomial Hamiltonian vector field