csmathHW02 by 付聪 11521012 main procedure is pca_digit.py run the ipython notebook will get stuck at cv.waitkey so just run "python pca_digit.py" immediately