We're not a homework service and nobody here is going to complete this for you.
You need to start the program and tell us where you get stuck, and giving us detailed information about the problem...