Update util.py

Completely redundant parenthesis around conditionals. My guess is that someone with experience in another language did it out of habit.
Merge pull request #6 from maxwellhansen/patch-1

Update util.py