[added]Finished the wareshouse assignment using search and cost