Write the first implementation for the initial matrix construction.
Implemented the methods for Matrix and Vector classes.