Local convergence analysis of a novel derivative-free method with and without memory for solving nonlinear systems