LED matrix 5 x 5 using arduino and breadboard UPDATED

Thank you. I have attempted the activity again. To be honest, I am confused because it is quite different from what my professor taught.