Added my solution of the tourist probelm.