Small java projects / sample code