Created initial nonce calc code, and a cli to test it with