redirecting to win page when checking for win
updated death to checkforwin()