Added Hw0 and InverseIndex assignment