finished collision detection. Working on graphics changing direction