Updates

fixed bug where snake could give a null direction and not be moved