NEW: header for the Exercise class

Move exercises to a separate class and created a header file for it.
Matrices multiplication is still in the main.