Update util.py

Added tuple recognition.