Java Create Array From Values