update headers and add a main test
main ok to test draw_line & arrows