From Scratch Implementation of Algorithms