Determine if there is a path of length l from vertices a & b