Fixing BTreeWriter.java constructor so that when we perform a search,
the constructor writes nothing