added function sqrt + test