Your change() function purports to print the current password, but collecting input from the user. What a load of crap.