adds upper and lower hlines to table