Update Util.hs

Remove unnecessary if statement;
Change confusing variable names;