assignment part3
finished hw3