SDL demo from LazyFoo webpage on tile collision movement