C++ - prompts the user for a password and displays it's strength in bits