3.2 Design and Implementation
A 3D path-finding problem can be defined as four components:
1. The initial state that the agent starts in.
2. A description of the possible actions available to the agent.
3. The goal test, which determines whether a given state is a
goal state.
4. A path cost function that assigns a numeric cost to each
path.