isValidTuple is useful
Merge branch 'master' of https://github.com/Winston-Chan/CPSC449