This commit adds some button functionality to the matrix grid, and
separates the matrix controller from the UI generator class.Furthermore
it adds a utility package to store auxiliary classes, like the
TwoDimensionalArray