Implementation of the dynamic connectivity algorithm by Monika Rauch Henzinger and Valerie King