Revert "Create a java version of my code"

This reverts commit 63dd90a26d315f977959bbd3478e087db7efcde9.
first code set