Solutions to some of the programming assignments on Coursera , Algorithms: Design And analysis Part 1 in C++