finished and tested hw3