Function that adds commas to numbers 1,000 or greater