Trying to make a platformer using SDL