Defensive player query added and PEP8
Changed def query to be team based instead of def player based