Ronak - Finished 2nd set of algorithm problems