An algorithm for the n Lyapunov exponents of an n-dimensional unknown dynamical system