Python script for calculating a quarterback's passer rating