refactor operator<< overload for Pieces