Advent of Code 2022 C# - Day 12: Hill Climbing Algorithm