printOut(list) added