Define a function point_turtle that consumes a Turtle and an integer (representing a new direction), and produces a new Turtle with its direction updated to the new value.

A Turtle is a dataclass with the fields speed (int) and direction (int).