created hw04.py