add ClosestVal.java