Eight Queens Problem Python