first algorithm done, XD without heuristics of any kind!
Unbelievably slow!!