add return value and new figure each display
complete PCA function
complete hw part 1: PCA