Solved 1.c and 1.d: Test-first development of .computePiInHex()