added integer sqrt algorithm