Hollow square pattern in java