Updated the comments. Removed lines that were commented out and only saved in case they were necessary (they were not). Fixed bug with shifts_list not being reset correctly if a dead end was found (hint - it was aliasinggit status).