add hw1-3.py and sample programs