Simple java programs written for fun