연습문제 6-6: addPiece(position, piece) method