Implementations for Algorithms 1 course on coursera