Sqrt, need to pay attension on the data type, have to use long, otherwise it could got overflow and wrong answer