added password checker which explains some character testing functions