Update project2.h

added mode prototype