* Small, testable functions * `set_` functions return boolean so they can indicate out-of-bounds values and similar failures. * const-correctness for all helper functions Note: The new functions are NOT used extensively yet ... they still need testing. But they should make the code more self-documenting / readable (if somewhat verbose).