Add a new datastructure Yang Matrix which is a 2-dimensional heap