practice java source file line counter