Python script and module for generating random passwords