some work to get arrows keys working right... it largely failed
moved terminal backend to curses lib
got curses mode fullying working
some fixes
added key handler to screen.c
added main pye executable
added buffer
added the gap_buffer - not yet tested
added gap_buffer test and fixed a couple bugs