XGUDMGXNWVHQUTUMQJZPOLHJVG4FN6ZROTDATCKVWE6AYMXZXERAC
File.read!("input") |> TobogganTrajectory.trees_in_trajectory(3) |> IO.inspect()
levels = File.read!("input")
TobogganTrajectory.trees_in_trajectory(levels, 3) |> IO.inspect(label: "Part 1")
[[1, 1], [3, 1], [5, 1], [7, 1], [1, 2]]
|> Enum.map(fn [across, down] -> TobogganTrajectory.trees_in_trajectory(levels, across, down) end)
|> Enum.reduce(1, &*/2)
|> IO.inspect(label: "Part 2")