Added function to visualize board