I have uploaded the first snippet of code that I wrote in a hurry on Wednesday morning. The code is developed in Eclipse 2.1