Well you have understand where your guy friend was coming from, he prolly can't control his feelings, and spending time with you prolly drives him crazy. If he cares about you he will be back, and a true friend would never give you an ultimatum like that, they would prolly say they needed space. He may just need some time and space and may be back around before you know it. It wouldn't have been right for you to date him if you do not have feelings for him, it wouldn't be fair to you or him. He deserves someone who likes him back and so do you. You did the right thing, everything will work out, it may take some time, but it will be ok.