Update Inode.java

Add write