BUG: changed string.lowercase to string.ascii_lowercase

Compatibility with Python3, which dosn't have string.lowercase.