Updated project.c. Added delays, and add code for pushbuttons