Directory code updates

Updated inodes to have a directory flag. Wrote some system calls for the
directory code.