Fixed syscalls, finished hw3