now handling tab and newline, a lot fixed, no more warnings with -Wall, but segfaults are common thing now