Another traffic light project
For starters, take a close look at this line:

while (resState == LOW;)


That is not the correct syntax. But the real issue is how is this while loop terminated? The value is never set again? 

Cheers!