Update Inode.java

Fixed most of the functions.