Add metrics for number of loops and number of decisions
Updates #39 by adding nesting metric.  HIS "LEVEL" metric is nesting metric +1