finished hw3 written