created print.py for problem 0