Finish first iteration of Hamming JS