P.S. Try to get your instructor to give you the most complete specification you can. Be sure that your instructor and you are in agreement on what is required of your program. Then do the best job you can on that. Don't gratuitously add features like error-recovery which are not in the spec. These are words to live by.