Password cracker in C