Simple block game in C using SDL