fixing keypair issues
working on ip in challenge 2
Write key to disk