Implement 2d array (matrix) methods, including initialize, update, search, print etc. Code in Java, JavaScript and Python