Some classical algorithms