fix log 2 approximation typo
rename bisect to bisectRight
java translation for ch09