Update Directory.java

Added directory2bytes, ifree, namei, ialloc. Please reformat them.