Tiger Woods had a goal for months: he devoted himself to be ready for St. Andrews