Programming Graphics Class - Python