moved square root to lang-java package