Even better
Wheeeee list comprehension
Add Node is_legal
Begin borrow helper function