Implementation of the Fortune's algorithm