commented all syscall functions, changed bug in tty write
merged