How far have you got and where are you stuck? Try writing the code a bit at a time and make sure each bit works before moving onto the next bit. Do you fully understand the assignment?