Added infinite loop to end of main.c

Signed-off-by: Jacob McGladdery <jacobm117@gmail.com>