Adding some java programs