Print marix in diagonal order