Legendre transform

Short script and corresponding plotting functions in order to visualize
the Legendre transform of an example function.