Stanford freshman's determined reporting leads to investigation, president's resignation