word wrap and table init

fixed the word wrapping function to take up less space on the terminal
fixed the table initialization of first row and column, init now correctly adds
h +g for a gap
added delete and insert opening gap penalties in retrace
presented
Have to remake