Rapist of a child got hanged in front of father