adding unit tests;adding some code for Weighted Quick union (not finished yet)