Successful switch to getline

Successfully moved from standard cin to getline, in order to grab whole lines.