Lab 8 in java

- Added lab 8 in Java