Print function tidy
Added a test for blank strings
Added empty list test