prove the bolzano-weierstrass theorem