Added sample code playing around with the java version of inotify.