forgot to add the new pwcheck.cpp (duplicated from init.cpp, main() replaced with my custom algorithm)