add create_dict.py file, which create the database file needed by giveaword2.x
re-organize functions