Source code for examples from the CpSc 418 lecture on Jan. 25, 2017. These examples pass a function root_scan() as argument Acc0 to wtree:scan(), so remember that you need to download and compile the updated version of the wtree.erl library from the resources page before running this example code. FYI: The scan problems in HW-2 do not require the updated version of the library; they can be solved with a constant value for Acc0.