Here is the Google Colab notebook I used here.
Link to slides presentation: 193A Presentation - Numerical Methods with Matrices - Power Method