Updates to "cat"

Actually implemented the concatenate feature of it.

Unified spacing using a new getlinespacing() function