finished hw3 for 180