Finally code completed (made change in sources/output.c for inserting row and col values only once in the message for the TMAP's)