Create EditDistance.java 

http://web.stanford.edu/class/cs124/lec/med.pdf