to do list add and subtract items from array through the command line