finished code for load/write and fixed up errors with previous implementation of prev,next, and path attributes of inodes