Ad hoc and Sensor Networks : Motivation & Applications