Hello,
The guidelines are rather simple: the student needs to show some work and effort, meaning code and talking the problem out. All are welcome to discuss the theory (like you did chainsaw), but we generally do not offer code until the student puts some on paper, and then we can go through it as a group. We strongly discourage someone else posting the answer "working code", as then the student didn't learn.
Bob, what I suggest is your next step is to plot out the code on how you think this should work. You mentioned you understand the algorithms, but do not know how to encode them properly. You might want to consider PsuedoCode
// Bob's Program
// Date
// This is what my program does
// Goal is to obtain this
// Here are some Variables that the whole program needs
// This function does one schedule means
// This function does something else
// This is the main part of the program
// Read in data from disk
// While !done, do this
// function 1
// function 2
You get the idea. Build out your Outline of the code, and we can go from there.
Christian