a simple password program using termios struct to enter password in terminal