Added labA6.java