He will definitely think about you and remember the times you've spent with each other if he really liked you. Don't try to think about him too much because there will be soooooo many more people that will give you better. Especially since he was rude to you sometimes means he wouldn't be the best. It will take time to get over these thoughts but just know it gets better. Everything happens for a reason, maybe since he moved it means it wasn't meant to be. Best of luck!