hw2 completed, internal and provided tests pass