Create a function that takes the dimensions of two triangles (as arrays) and checks if the first triangle fits into the second one.
doesTriangleFit([1, 1, 1], [1, 1, 1]) ➞ true
doesTriangleFit([1, 1, 1], [2, 2, 2]) ➞ true
doesTriangleFit([1, 2, 3], [1, 2, 2]) ➞ false
doesTriangleFit([1, 2, 4], [1, 2, 6]) ➞ false
false if the triangle with that dimensions is not possible.