A tutorial for basic Java code