Implementation of algorithms for Stanfords Algorithms: Design and Analysis