First Java assignment