Added many random examples
Added tree implementation