added sameLineSplit function, csvSplit function and displayTable function