Finished BTreeWriter.java and implemented/modified test classes