Welcome issue, in order to get help with this it would be better if it was posted in the Homework section, even if it's not actually homework. General Discussion is not the place for it.
Be sure to fill out the template provided an show what you have already done to solve the problem yourself so that people know what you've already tried and where they should start.