If you are working on a very large program implement it step by step.
Do not make the mistake to implement everything and then test it as a whole.
Make small changes, test them, and make corrections if necessary. Then make more small changes.
If you implement everything and then test it all at once you will have a hard time finding out where exactly are the errors in your program.