Update hw3.py

added list_primes