Added solution to Stanford Algorithm Coursera Course