A simple iterative method to write the terms of any order of perturbation theory in quantum mechanics