Recursive function example by calculating factorial.
Function to take a single argument and return the square.