Update util.py
Merge pull request #7 from GuanjunXu/patch-1

Update util.py