This Python code will solve the Bullseye puzzle in CodeJam 2013's Round 1A A.