Adding a Java example for UDP programming