Adding square root function example