Changed input stream operator to getline. Takes whole line now.