Added playerNumber instance variable to Player class, added InvalidMoveException class,and added isIllegalMove logic for both Torch and Ball classes