Theoretical aspects of high tc superconductivity