this is completed code for mining p's and q's problem for boston key party ctf