I fixed the cin problem, but ran into another problem in the GetNonEmptyString function that I dont understand