I ran into a bit of a roadblock trying to code a program to perform simple matrix operations. The catch was that I wanted to be able to let the user specify the dimension of the matrices on the fly.