Added IRV algorithm