Infinite Loop

Implemented the infinite loop catchin code, affects the results of the
students grades though in the parent process... I think i have a fix for
this
NOthing