Trying to implement the algorithm, lot of work left, damnit