Methods of Detecting Exoplanets