Added a day until next shopping trip into algorithm and comments