script to test suitability of passwords