Creates function that only executes once
Function to wrap
Function that executes f only on first call
Creates function that only executes once