add Embedding.java as in the undated skeleton code