Java Prog - Square