Fixed issues with project1.c, it's now working properly