Binary tree search implemented. Works cleanly. May need to restrict aliasing