Add function for printing strings