Manipulating Boards

In this assignment, we will start focusing on the boards. A natural representation for the board is a matrix (which Ocaml represents as an array of arrays). Each position of the matrix is one of our four possibilities:
type position = Plain | Water | Wall | Home
type board = position array array

Your task is to write the following functions: