Update Lab6.java

Took care of user error (non-integer value).  Done as far as Extra Credit is concerned.