Contradiction Based Gray-Hole Attack Minimization for Ad-Hoc Networks