To run this Notebook execute all the instructions. Uncomment to see the tail functions, and comment to get the graphs correctly.