adding set for lists, println and concatenation for print