Added some functions
row/col compute and println function