Finished logic of CAN_ADD_WITHOUT_RESTS and fixed some bugs with cart
Remove print and fixed PEP8