Savings heuristic

WIP
unexpected token kEND