What problems are you having?

Do you have the steps the program needs to take to solve that problem? The algorithm

Can you post the steps the program needs to take?

How are you debugging...