Randomly hooking and unhooking the blocks