HAS COME UP WITH MUCH MORE SOPHISTICATED ALGORITHMS BUT ALREADY THIS WAS BEAUTIFUL