add license file headers
Added comments/docs to treap.go