week 4 assign: add tests for hamming() and manhattan()