added java version of cut
work on java impl
Merge branch 'master' of https://github.com/cfusting/algorithms.jl