Basic lessons for Java programming