Read a password from the command line, masking input

Read a password from the command line, masking input with an asterisk. Only tested on Windows 10.