Changed some stuff in calculating hamming code + added more verbosity on tb