I completed the algorithms homework