Alteration in lab2 IntroJavaCourse, noticed errors due to changes in interface in previous revision and corrected them.