Extracts function for printing matrices #DRY

* Code was repeated!
* Simple extraction, will create Matrix class soon! :wink:
* First things, first!