Java 2 lab for practicing usage of static keyword in java