I've been programming for many years and I have never found code for this particular program online. I guess you'll have to write it yourself. That is, after all, the best source for homework code.