Week 1 - implemented the Union/Find programs