added functions to Util

added getMaxLevel (checked with file, and works correctly!)
put the getPathNodes function (equivalent to pathAddrs in Tree.py) into
Util