It actually does not compute private keys, it just generates a random keypair, random transactions for it with special nonce and *then* attempts to solve the private key using the resulting RSZ values.
His test code send transaction to himself, this is normal get r,s,z for outgoing transactions