Print takes a &str because ownership is not necessary
Moves helper methods into tests module
Extract method to create Board from str