Create minPathSum