Adaptive Network Coding In Manet