How far have you got so far?

Show us your code and we can give you some pointers.