Java Scanning adn Printing Application