Implemented close, read, write, and open syscalls.