Swimming teacher James Cook was unhappy with his weight, so he decided to change his lifestyle