Added update() function to Agent. Takes a Player and GameBoard as
parameters, allowing agent to make decisions based on the current state
of both.