replaceItem method

Point replaceItem(
Point item,
int index
)