David Lindquist code challenge submission for CMG