Simple java programs to get to know std classes