Python coordinate grid. Improve this question.