Variable Not Initialized Error In Java