add neighbouring 8 hashes method and test