Code cleanup for makeTree
Added tests for branches A1 and A101
Added warnings for unknown types