how to write first code in java