Added implementation of Andrew Sutherland's algorithm