Applications of Hamming Distance to the Analysis of Block Designs