power method

calculate the largest Eigenvalue of a randomly generated square matrix