A person is swimming laps across a pool by doing a certain stroke.