expanded neuraldecisiontree.lua to work with multiple switchlayers. Phase 1 (focus on examples) runs and learns (very slowly)