Lab 5 for java two