Refactors chess_pieces.rb