some complex problem which I tried to implement using various languages.....