drawing patterns in pygame window