Solutions for Algorithms Coursera course