Fixed a bug affecting functions in a ValueLookupTree with more than two
arguments. Also added a module for printing various stuff including timing
information.