adds java levenshtein distance functions
adds java core stuff
renames for javaspec
updates some errors. mainly ternary
finished.