adding matrix spiral