Sure. Where exactly are you stuck? What's your code so far? Have you got a precise description of the program you want to write?