first commit of the WSN simulator