pawns class inherits from piece class