Added print statements to main.c