A python program to find Manhattan Distance in 3x3 matrix which implemented as a 1D list.