Changing CreatePieces to a static method