It's pretty easy. How far have you got and where are you stuck?
Post your code (with code tags) and explain the exact problem.