Principal Component Extraction — Coding problem | OneNoughtOne