return the coordArray in term of piece location relative to the grid. Also add destroy function to destroy the piece