fixed endGame bug
added distance
logging distance after you die