finished the Image2Mapper.java