Removed unused Direction class
Added Deadline to solver
Fixed loop in path retrieval