A UDP based distance vector routing protocol implemented in Java