Added information about the second example and added information on flatten and compare functions in list of functions