Look at your do while loops, when will tom.whatever it may be != mom.whatever it may be. You need to increment those variables in there or else it will be possible infinite loops.

I have not ran...