add Position.java and EmptyElement.java class