Instead of posting the answer, can you post your code for us to see, so we can tell you where you went wrong?