Accidental eye contact vs on purpose?

Whenever I see the guy I like look at me or even make eye contact, I always think it was just kind of accidental, even though it happens often. Well the eye contact thing not as often but that's my fault. For example:

I was walking with my teacher down the hall to the washing machine to wash some fabric. And I had t pass the class he was in. Well my teacher stopped rigt in front of the class to talk to another teacher so I stopped beside her. And my best friend is in that clas as wel so I was kind of looking in there to see I I could see her. The first person I saw was the guy I like and we made eye contact, and then I wlaked off. So I thought this one was just an accidental eye contact.

Example 2;

In the morning he standing a few feet away from m group and I kept seeing him turn his heads towards me. I don't knw if he was looking AT me I couldn't tell. But one time I looked over there at him and he looked right at me. And I was thinking this one couldn't have been accidental because he has ot obviously been looking at me to begin with.

So basically I am kind of confused. Is him looking at me/eye contact accidentally or on purpose?
Accidental eye contact vs on purpose?
Post Opinion