parameterized module that makes square root from integers