Tested for Test024.txt (Nested if while )
Tested for Test013.txt

Note  :
1. Code clean up and comments are required 
2. Stable - No crashes