Fixed java build script
Added java implementation of bubblesort, selection and insettion sort