uploading Java beginner code