Does this guy like me!

My best friend's "guy friend" has hugged me before, he walks us to our class after lunch and he hangs out with us when ever he see's us. But today he walked us to our class and he said I looked lonely so he gave me a hug but he held on to me tightly and wouldn't let go for awhile. Then after school he gave me another hug because he thought I would like one. 😖 Does he like me or am I just crazy.