Can't help you if we don't know what the problem is. Does the code do something wrong? What is it doing wrong and what did you expect it to do? Which line of code does the problem occur on? Do you provide any input to the program (and if so, what)?