finish hamming exercise