A password generator on command line using C