an algorithm for finding the closest treasure chest the and parameters are integers (say and )and together they represent the location on the game board where the player guessed the chests variable will have value such as [[ ][ ][ ]that value represents the locations of three treasure chests you can visualize it as the picture in figure - the distances form "ringsaround the sonar device located at as in figure - figure - the treasure chests that [[ ][ ][ ]represents figure - the board marked with distances from the position but how do you translate this into code for the gameyou need way to represent the square ring distance as an expression notice that the distance from an xy coordinate is always the