fixed successful add prints empty
Merge branch 'master' of https://github.com/boyangwang/CS3213-assignment-1.git
When empty string, pass empty list.