Algorithms Assignment

Assignment written with comments. Will not pass the auto grader but will
help explain the concept.