Inexact Search Java port

This is Java port of Inexact-search module. Thank you