Nadal, one of the greatest players to have graced the sport, decided that he no longer has it in him to play professional tennis