Calling recursive square function twice more within the recursive case