added the problem of floating median; modified the binary index tree class