snake dies now if it touches itself. cleaned up the code a little too.