Java Initialize Array With Same Value Formula